// 引入jquery
import $ from 'jquery'
$(function () {
  $('#app li:nth-child(odd)').css('color', 'red')
  $('#app li:nth-child(even)').css('color', 'green')
})

import "./css/index.css"

import "./less/index.less"

// 引入图片-使用
import imgUrl from './assets/1.gif'
const theImg = document.createElement("img")
theImg.src = imgUrl
document.body.appendChild(theImg)

import './assets/fonts/iconfont.css'

// 高级语法
const fn = () => {
  console.log("你好babel")
}
console.log(fn)